classdef ziSweepNode
    %ZISWEEPNODE Summary of this class goes here
    %   Detailed explanation goes here
    
    properties
        channel        
        index
        node
        
        toString
    end
    
    methods
        function swprNode = ziSweepNode(channel, index, node)
            swprNode.channel = channel;
            swprNode.index = index;
            swprNode.node = node;
            swprNode.toString = [channel '/' index '/' node];
        end
    end
    
    enumeration
        AuxOut1_Offset ('auxouts', '0', 'offset')
        AuxOut2_Offset ('auxouts', '1', 'offset')
        AuxOut3_Offset ('auxouts', '2', 'offset')
        AuxOut4_Offset ('auxouts', '3', 'offset')
        
        SigOut_Amplitude1  ('sigouts/0/amplitudes', '0', '')
        SigOut_Amplitude2  ('sigouts/0/amplitudes', '1', '')
        SigOut_Amplitude3  ('sigouts/0/amplitudes', '2', '')
        SigOut_Amplitude4  ('sigouts/0/amplitudes', '3', '')
        
        SigOut_Offset      ('sigouts', '0', 'offset')
        
        Osc1Frequency  ('oscs', '0', 'freq')
        Osc2Frequency  ('oscs', '1', 'freq')
        Osc3Frequency  ('oscs', '2', 'freq')
        Osc4Frequency  ('oscs', '3', 'freq')
        
        Mod_Carrier_Amplitude    ('mods', '0', 'carrier/amplitude')
        Mod_Index                ('mods', '0', 'index')
        Mod_Sideband1_Amplitude  ('mods/0/sidebands', '0', 'amplitude')
        Mod_Sideband2_Amplitude  ('mods/0/sidebands', '1', 'amplitude')
        
        Demod1_PhaseShift  ('demods', '0', 'phaseshift')
        Demod2_PhaseShift  ('demods', '1', 'phaseshift')
        Demod3_PhaseShift  ('demods', '2', 'phaseshift')
        Demod4_PhaseShift  ('demods', '3', 'phaseshift')
        
        PID1_Setpoint ('pids', '0', 'setpoint')
        PID2_Setpoint ('pids', '1', 'setpoint')
        PID3_Setpoint ('pids', '2', 'setpoint')
        PID4_Setpoint ('pids', '3', 'setpoint')
    end
end

